package objects;

import java.io.Serializable;

import entityBeans.User;

public class UserObject implements Serializable {

	private String userID;
	private String name ;
	private String surname ;
	private String gender ;
	private String email ;
	private String city ;
	private String job ;
	private String bday;
	private String password;
	
	public UserObject (){
		
	}
	
	public UserObject(String userID, String email ,String name,String surname, String gender, String city,String job,
			String bday,String password)
	{
    super();
    this.userID=userID;
    this.surname=surname;
    this.name = name;
    this.gender = gender;
    this.city = city;
    this.job = job;
    this.bday = bday;
    this.password = password;
    this.email=email;
	}
	
	public UserObject(String email,String name,String surname, String gender, String city,String job,
			String bday,String password)
	{
    super();
    this.email=email;
    this.surname=surname;
    this.name = name;
    this.gender = gender;
    this.city = city;
    this.job = job;
    this.bday = bday;
     this.password = password;
	}
	
	public UserObject(User user){
		this.userID=user.getUserID();
	    this.surname=user.getSurname();
	    this.name = user.getName();
	    this.gender = user.getGender();
	    this.city = user.getCity();
	    this.job = user.getJob();
	    this.bday = user.getBday();
	    this.password = user.getPassword();
	}
	
	public String getEmail() 
	{
         return email;
	}
	public void setEmail(String email) 
	{
         this.email = email;
	}

	public String getuserID() 
	{
         return userID;
	}
	public void setuserID(String userID) 
	{
         this.userID = userID;
	}

	public String getName() 
	{
         return name;
	}
	public void setName(String name) 
	{
         this.name = name;
	}
	
	public String getSurname() 
	{
         return surname;
	}
	public void setSurname(String surname) 
	{
         this.surname = surname;
	}

	public String getGender() 
	{
         return gender;
	}
	public void setgender(String gender) 
	{
         this.gender = gender;
	}
	
	public String getCity() 
	{
         return city;
	}
	public void setCity(String city) 
	{
         this.city = city;
	}
	
	public String getJob() 
	{
         return job;
	}
	public void setJob(String job) 
	{
         this.job = job;
	}
	

	public String getbday() 
	{
         return bday;
	}
	public void setbday(String bday) 
	{
         this.bday = bday;
	}

	public String getPassword() 
	{
         return password;
	}
	
	public void setPassword(String password) 
	{
         this.password = password;
	}

	public Object getUserID() {
		// TODO Auto-generated method stub
		return null;
	}

}